home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.n / lappend.n < prev    next >
Text File  |  1995-07-25  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      llllaaaappppppppeeeennnndddd((((nnnn))))                   TTTTccccllll (((( ))))                   llllaaaappppppppeeeennnndddd((((nnnn))))
  5.  
  6.  
  7.  
  8.      _________________________________________________________________
  9.  
  10.      NNNNAAAAMMMMEEEE
  11.           lappend - Append list elements onto a variable
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           llllaaaappppppppeeeennnndddd _v_a_r_N_a_m_e _v_a_l_u_e ?_v_a_l_u_e _v_a_l_u_e ...?
  15.      _________________________________________________________________
  16.  
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.           This command treats the variable given by _v_a_r_N_a_m_e as a  list
  20.           and  appends  each  of the _v_a_l_u_e arguments to that list as a
  21.           separate element, with spaces between elements.  If  _v_a_r_N_a_m_e
  22.           doesn't  exist,  it is created as a list with elements given
  23.           by the _v_a_l_u_e arguments.  LLLLaaaappppppppeeeennnndddd is similar to aaaappppppppeeeennnndddd except
  24.           that  the  _v_a_l_u_es  are appended as list elements rather than
  25.           raw text.  This command provides a relatively efficient  way
  26.           to  build  up large lists.  For example, ``llllaaaappppppppeeeennnndddd aaaa $$$$bbbb'' is
  27.           much more efficient than ``sssseeeetttt aaaa  [[[[ccccoooonnnnccccaaaatttt  $$$$aaaa  [[[[lllliiiisssstttt  $$$$bbbb]]]]]]]]''
  28.           when $$$$aaaa is long.
  29.  
  30.  
  31.      KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  32.           append, element, list, variable
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 7/17/95)
  64.  
  65.  
  66.  
  67.